Repository navigation
Conversation
The Glide FX (G) now also affects MIDI instrument tracks M01-M16, emulating the sample-domain glide: a linear pitch-bend ramp from the previous note's pitch to the new note's pitch, with the duration taken from the FX value (same glideFxValueToMs() mapping as the sample engine). RPN 0,0 widens the bend range to cover the interval when needed. New config option Config > MIDI > "MIDI Glide": - Off (default): no behavior change - Legato: defer the previous note-off until after the new note-on, so synths with portamento trigger their native glide - Bend: pitch-bend ramp as described above - Both: legato reordering + pitch-bend ramp Glide only applies when the previous note on the same channel is still held, G=0 keeps the original behavior, chords are excluded. Sample tracks are unaffected, the synth engine keeps its native Voice-section glide.
Polyend Tracker CE Test Firmware & SD Card ContentThis pull request passed all build checks. You can download and test the built firmware for Original Tracker, Tracker+, and Tracker Mini ( How to Install & Flash on Your Tracker1. Flashing the Firmware (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary & Goal
The Glide FX (G) currently only affects sample instruments. Patterns on MIDI instrument tracks (M01–M16) therefore cannot express legato/portamento-style note slides at all — you are dependent on the external synth's own portamento setting, which the pattern cannot control.
This PR makes the Glide FX work for MIDI instrument tracks. The behavior mirrors the sample-domain glide: the pitch slides from the previous note to the new note, with the duration taken from the G-FX value (the sample and MIDI paths now share the same time mapping). The feature is opt-in via a new config option that defaults to Off, so existing projects and workflows are unaffected. Sample tracks and the synth engine are untouched.
Behavior & Changes
New config item: Config > MIDI > "MIDI Glide" (controls MIDI instrument tracks M01–M16) with four modes:
Glide conditions (all modes):
Additional details:
Target Devices
MK66)IMX)IMX)Hardware Testing Status
MK66)IMX)IMX)How to Test
.ptffor your device (Checks tab →polyend-tracker-ce-firmwareartifact).The author has run the steps above on a Tracker+ (MIDI tracks M01–M16).
Developer Checklist
CONTRIBUTING.md).make allcompiles cleanly for all three devices (Original,Plus,Mini);make ptfxalso verified locally (GNU Arm Embedded 10.3-2021.10, no new warnings).SRAM_DTC,EXTERNAL_RAM,FLASH) was checked and stays within safe hardware headroom:(Delta vs. the reference build includes upstream commits merged after it; the feature itself adds ~600 B of fixed per-channel ramp state.)
new/malloc) or SD card I/O were added to real-time audio callbacks..mtprojects,.ptiinstruments,.ptssynth patches, andmtConfigsettings remain backward-compatible.